using System;
using System.Collections.Generic;
using System.Text;

namespace Framework.Library.Process
{
    class smsObject
    {
        private bool fIsPKIEmail;

        public bool IsPKIEmail
        {
            get
            {
                return this.fIsPKIEmail;
            }
            set
            {
                this.fIsPKIEmail = value;
            }
        }

        public string PFXFile
        {
            get
            {
                return this.strPfxFile;
            }
            set
            {
                this.strPfxFile = value;
            }
        }

        public string PFXPassword
        {
            get
            {
                return this.strPfxPass;
            }
            set
            {
                this.strPfxPass = value;
            }
        }

        public string SignerName
        {
            get
            {
                return this.strSigner;
            }
            set
            {
                this.strSigner = value;
            }
        }

        public string SignatureFile
        {
            get
            {
                return this.strSignatureFile;
            }
            set
            {
                this.strSignatureFile = value;
            }
        }

        #region Ky File

        private string strPathFileSigned;
        private string strPfxFile;
        private string strPfxPass;
        private string strSigner;
        private string strSignatureFile;       

        public string PathOfFile
        {
            get
            {
                return this.strPathFileSigned;
            }
            set
            {
                this.strPathFileSigned = value;
            }
        }

        #endregion


        #region Ky Email

        private string strEmailSender;
        private string[] strEmailRecievers;
        private string strEmailBody;
        private string strEmailSubject;
        private string strEmailCreationTime;

        public string EmailSender
        {
            get
            {
                return this.strEmailSender;
            }
            set
            {
                this.strEmailSender = value;
            }
        }

        public string[] EmailRecievers
        {
            get
            {
                return this.strEmailRecievers;
            }
            set
            {
                this.strEmailRecievers = value;
            }
        }

        public string EmailBody
        {
            get
            {
                return this.strEmailBody;
            }
            set
            {
                this.strEmailBody = value;
            }
        }

        public string EmailSubject
        {
            get
            {
                return this.strEmailSubject;
            }
            set
            {
                this.strEmailSubject = value;
            }
        }

        public string EmailCreationTime
        {
            get
            {
                return this.strEmailCreationTime;
            }
            set
            {
                this.strEmailCreationTime = value;
            }
        }


        #endregion         


        public smsObject()
        {            
            this.strPfxFile = null;
            this.strPfxPass = null;
            this.strSigner = null;
            this.strSignatureFile = null;
            this.fIsPKIEmail = false;


            this.strPathFileSigned = null;


            this.strEmailSender = null;
            this.strEmailRecievers = null;
            this.strEmailCreationTime = null;
            this.strEmailBody = null;
            this.strEmailSubject = null;
        }


        public smsObject(bool fEmail)
        {
            this.strPfxFile = null;
            this.strPfxPass = null;
            this.strSigner = null;
            this.strSignatureFile = null;
            this.fIsPKIEmail = fEmail;


            this.strPathFileSigned = null;


            this.strEmailSender = null;
            this.strEmailRecievers = null;
            this.strEmailCreationTime = null;
            this.strEmailBody = null;
            this.strEmailSubject = null;
        }
    }
}
